package com.rfid.system.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rfid.common.annotation.Excel;
import com.rfid.common.core.domain.BaseEntity;

/**
 * 稽查总对象 t_rfid_audit_total
 *
 * @author fangchen
 * @date 2021-01-13
 */
public class TRfidAuditTotal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 稽查编号
     */
    @Excel(name = "稽查编号")
    private String auditNo;

    /**
     * 单据号
     */
    @Excel(name = "单据号")
    private String documentNo;

    /**
     * 稽查日期
     */
    @Excel(name = "稽查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditDate;

    /**
     * 是否串货 0是 1否
     */
    @Excel(name = "是否串货 0是 1否")
    private Integer type;

    /**
     * 货品是否正确 0是 1否
     */
    @Excel(name = "货品是否正确 0是 1否")
    private Long status;

    /**
     * 预留字段,保存格式为json字段
     */
    @Excel(name = "预留字段,保存格式为json字段")
    private String field;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setAuditNo(String auditNo) {
        this.auditNo = auditNo;
    }

    public String getAuditNo() {
        return auditNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }

    public String getDocumentNo() {
        return documentNo;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getField() {
        return field;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("auditNo", getAuditNo())
                .append("documentNo", getDocumentNo())
                .append("auditDate", getAuditDate())
                .append("type", getType())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("field", getField())
                .toString();
    }
}
